Class: Canopus::Decoration::Item
- Inherits:
-
Data
- Object
- Data
- Canopus::Decoration::Item
- Defined in:
- lib/canopus/decoration.rb,
sig/decoration.rbs
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#on_click ⇒ Object
readonly
Returns the value of attribute on_click.
-
#priority ⇒ Object
readonly
Returns the value of attribute priority.
-
#range ⇒ Object
readonly
Returns the value of attribute range.
-
#row ⇒ Object
readonly
Returns the value of attribute row.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
-
#style ⇒ Object
readonly
Returns the value of attribute style.
Class Method Summary collapse
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content
6 7 8 |
# File 'lib/canopus/decoration.rb', line 6 def content @content end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
6 7 8 |
# File 'lib/canopus/decoration.rb', line 6 def kind @kind end |
#on_click ⇒ Object (readonly)
Returns the value of attribute on_click
6 7 8 |
# File 'lib/canopus/decoration.rb', line 6 def on_click @on_click end |
#priority ⇒ Object (readonly)
Returns the value of attribute priority
6 7 8 |
# File 'lib/canopus/decoration.rb', line 6 def priority @priority end |
#range ⇒ Object (readonly)
Returns the value of attribute range
6 7 8 |
# File 'lib/canopus/decoration.rb', line 6 def range @range end |
#row ⇒ Object (readonly)
Returns the value of attribute row
6 7 8 |
# File 'lib/canopus/decoration.rb', line 6 def row @row end |
#source ⇒ Object (readonly)
Returns the value of attribute source
6 7 8 |
# File 'lib/canopus/decoration.rb', line 6 def source @source end |
#style ⇒ Object (readonly)
Returns the value of attribute style
6 7 8 |
# File 'lib/canopus/decoration.rb', line 6 def style @style end |
Class Method Details
.new ⇒ instance
24 |
# File 'sig/decoration.rbs', line 24
def self.new: (kind kind, Range[Integer]? range, Integer? row, untyped content, untyped style, Numeric priority, Symbol? source, click_handler? on_click) -> instance
|