Class: Formstrap::DatetimeRangeView

Inherits:
ViewModel
  • Object
show all
Defined in:
app/models/formstrap/datetime_range_view.rb

Instance Method Summary collapse

Methods inherited from ViewModel

#attributes, #initialize, #to_hash

Constructor Details

This class inherits a constructor from ViewModel

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ViewModel

Instance Method Details

#end_optionsObject



7
8
9
# File 'app/models/formstrap/datetime_range_view.rb', line 7

def end_options
  default_end_options.deep_merge(@end || {})
end

#start_optionsObject



3
4
5
# File 'app/models/formstrap/datetime_range_view.rb', line 3

def start_options
  default_start_options.deep_merge(@start || {})
end