Class: WhirledPeas::Settings::Scrollbar

Inherits:
Object
  • Object
show all
Defined in:
lib/whirled_peas/settings/scrollbar.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#horiz=(value) ⇒ Object (writeonly)

Sets the attribute horiz

Parameters:

  • value

    the value to set the attribute horiz to.



4
5
6
# File 'lib/whirled_peas/settings/scrollbar.rb', line 4

def horiz=(value)
  @horiz = value
end

#vert=(value) ⇒ Object (writeonly)

Sets the attribute vert

Parameters:

  • value

    the value to set the attribute vert to.



4
5
6
# File 'lib/whirled_peas/settings/scrollbar.rb', line 4

def vert=(value)
  @vert = value
end

Instance Method Details

#horiz?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/whirled_peas/settings/scrollbar.rb', line 6

def horiz?
  @horiz == true
end

#vert?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/whirled_peas/settings/scrollbar.rb', line 10

def vert?
  @vert == true
end