Method: Baltix::Space#options_for
- Defined in:
- lib/baltix/space.rb
#options_for(type) ⇒ Object
224 225 226 227 228 229 230 |
# File 'lib/baltix/space.rb', line 224 def type @@options[type] = type::OPTIONS.map do |option| value = self.[option] || self.respond_to?(option) && self.send(option) || nil [ option, value ] end.compact.to_os end |