module EasyParams::DSL
Public Instance Methods
each(&block)
click to toggle source
# File lib/easy_params/dsl.rb, line 3 def each(&block) array.of(struct_dsl, &block) end
has(&block)
click to toggle source
# File lib/easy_params/dsl.rb, line 7 def has(&block) struct_dsl(&block) end
method_missing(method_name, *args, &block)
click to toggle source
# File lib/easy_params/dsl.rb, line 11 def method_missing(method_name, *args, &block) public_send(:attribute, method_name, *args, &block) end