Module: Avo::Configuration::ResourceConfiguration

Included in:
Avo::Configuration
Defined in:
lib/avo/configuration/resource_configuration.rb

Instance Method Summary collapse

Instance Method Details

#resource_controls_on_the_left?Boolean

Returns:

  • (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

Returns:

  • (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_placementObject



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