Class: Representable::ParseStrategy::Proc
- Inherits:
-
Object
- Object
- Representable::ParseStrategy::Proc
- Defined in:
- lib/representable/parse_strategies.rb
Class Method Summary collapse
Class Method Details
.apply!(name, options) ⇒ Object
25 26 27 28 29 |
# File 'lib/representable/parse_strategies.rb', line 25 def self.apply!(name, ) [:setter] = lambda { |*| } [:pass_options] = true [:instance] = [:parse_strategy] end |