Class: Representable::ParseStrategy::Sync
- Inherits:
- 
      Object
      
        - Object
- Representable::ParseStrategy::Sync
 
- Defined in:
- lib/representable/parse_strategies.rb
Class Method Summary collapse
Class Method Details
.apply!(name, options) ⇒ Object
| 71 72 73 74 75 76 77 | # File 'lib/representable/parse_strategies.rb', line 71 def self.apply!(name, ) [:setter] = lambda { |*args| } [:pass_options] = true [:instance] = [:collection] ? lambda { || [:binding].get()[[:index]] } : lambda { || [:binding].get() } end |