Module: Avo::Configuration::ResourceConfiguration
- Included in:
- Avo::Configuration
- Defined in:
- lib/avo/configuration/resource_configuration.rb
Instance Method Summary collapse
- #resource_controls_on_the_left? ⇒ Boolean
- #resource_controls_on_the_right? ⇒ Boolean
- #resource_controls_placement ⇒ Object
- #resource_controls_placement=(val) ⇒ Object
Instance Method Details
#resource_controls_on_the_left? ⇒ Boolean
12 13 14 |
# File 'lib/avo/configuration/resource_configuration.rb', line 12 def resource_controls_on_the_left? resource_controls_placement == :left end |
#resource_controls_on_the_right? ⇒ Boolean
16 17 18 |
# File 'lib/avo/configuration/resource_configuration.rb', line 16 def resource_controls_on_the_right? resource_controls_placement == :right end |
#resource_controls_placement ⇒ Object
8 9 10 |
# File 'lib/avo/configuration/resource_configuration.rb', line 8 def resource_controls_placement @resource_controls_placement_instance || :right end |
#resource_controls_placement=(val) ⇒ Object
4 5 6 |
# File 'lib/avo/configuration/resource_configuration.rb', line 4 def resource_controls_placement=(val) @resource_controls_placement_instance = val end |