Module: Card::Set::All::Initialize::ClassMethods
- Defined in:
- platypus/tmp/set/gem-card/mod001-core/all/initialize.rb
Instance Method Summary collapse
Instance Method Details
#new(args = {}, _options = {}) ⇒ Object
11 12 13 14 15 |
# File 'platypus/tmp/set/gem-card/mod001-core/all/initialize.rb', line 11 def new args={}, ={} with_normalized_new_args args do |normalized_args| super normalized_args end end |
#with_normalized_new_args(args = {}) {|args| ... } ⇒ Object
17 18 19 20 21 22 23 |
# File 'platypus/tmp/set/gem-card/mod001-core/all/initialize.rb', line 17 def with_normalized_new_args args={} args = (args || {}).symbolize_keys delete_junk_args args normalize_type_args args normalize_content_args args yield args end |