dynamic_class 0.2.3
Specifically designed as an OpenStruct-like tool for consuming APIs, dynamic_class lets your classes define their own getters and setters at runtime based on the data instances receive at instantiation.
Gemfile:
=
安装:
=
Development 依赖 (6):
benchmark-ips
~> 2.3
bundler
~> 1.11
ofstruct
~> 0.2
persistent_open_struct
~> 0.0
rake
~> 10.0
rspec
~> 3.0