Class: CastingAttrAccessor::Parser::Ids
- Defined in:
- lib/casting_attr_accessor/parser/ids.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#default_value, #initialize, #readers, #storage_var, #writers
Constructor Details
This class inherits a constructor from CastingAttrAccessor::Parser::Base
Instance Method Details
#parse(values) ⇒ Object
5 6 7 |
# File 'lib/casting_attr_accessor/parser/ids.rb', line 5 def parse(values) super(values).map(&:to_i) end |