Class: Maglev::Content::Checkbox
- Inherits:
-
Base
- Object
- Base
- Maglev::Content::Checkbox
show all
- Defined in:
- app/components/maglev/content/checkbox.rb
Instance Attribute Summary
Attributes inherited from Base
#content, #scope, #setting
Instance Method Summary
collapse
Methods inherited from Base
#asset_host, #dom_data, #initialize, #tag, #tag_data, #tag_id
Instance Method Details
#false? ⇒ Boolean
10
11
12
|
# File 'app/components/maglev/content/checkbox.rb', line 10
def false?
!true?
end
|
#to_s ⇒ Object
14
15
16
|
# File 'app/components/maglev/content/checkbox.rb', line 14
def to_s
content
end
|
#true? ⇒ Boolean
6
7
8
|
# File 'app/components/maglev/content/checkbox.rb', line 6
def true?
!!content
end
|