Class: Eclair::Item
Instance Attribute Summary collapse
Instance Method Summary
collapse
#config
Constructor Details
#initialize ⇒ Item
Returns a new instance of Item.
9
10
11
12
|
# File 'lib/eclair/item.rb', line 9
def initialize
@selected = false
@visible = true
end
|
Instance Attribute Details
#selected ⇒ Object
Returns the value of attribute selected.
7
8
9
|
# File 'lib/eclair/item.rb', line 7
def selected
@selected
end
|
#visible ⇒ Object
Returns the value of attribute visible.
7
8
9
|
# File 'lib/eclair/item.rb', line 7
def visible
@visible
end
|
Instance Method Details
#command ⇒ Object
26
27
28
|
# File 'lib/eclair/item.rb', line 26
def command
raise "Not Implemented"
end
|
30
31
32
|
# File 'lib/eclair/item.rb', line 30
def
raise "Not Implemented"
end
|
#id ⇒ Object
22
23
24
|
# File 'lib/eclair/item.rb', line 22
def id
raise "Not Implemented"
end
|
#search_key ⇒ Object
38
39
40
|
# File 'lib/eclair/item.rb', line 38
def search_key
raise "Not Implemented"
end
|
#select(state) ⇒ Object
18
19
20
|
# File 'lib/eclair/item.rb', line 18
def select state
@selected = state
end
|
#title ⇒ Object
34
35
36
|
# File 'lib/eclair/item.rb', line 34
def title
raise "Not Implemented"
end
|
#toggle_select ⇒ Object
14
15
16
|
# File 'lib/eclair/item.rb', line 14
def toggle_select
@selected = !@selected
end
|