Class: Squared::Workspace::Support::BannerData
- Inherits:
-
Struct
- Object
- Struct
- Squared::Workspace::Support::BannerData
- Defined in:
- lib/squared/workspace/support/base.rb
Instance Attribute Summary collapse
-
#border ⇒ Object
Returns the value of attribute border.
-
#command ⇒ Object
Returns the value of attribute command.
-
#order ⇒ Object
Returns the value of attribute order.
-
#styles ⇒ Object
Returns the value of attribute styles.
Instance Method Summary collapse
-
#initialize(command = true, styles = nil, border = nil, order = []) ⇒ BannerData
constructor
A new instance of BannerData.
Constructor Details
#initialize(command = true, styles = nil, border = nil, order = []) ⇒ BannerData
Returns a new instance of BannerData.
9 10 11 |
# File 'lib/squared/workspace/support/base.rb', line 9 def initialize(command = true, styles = nil, border = nil, order = []) super(command, Array(styles), Array(border), order) end |
Instance Attribute Details
#border ⇒ Object
Returns the value of attribute border
8 9 10 |
# File 'lib/squared/workspace/support/base.rb', line 8 def border @border end |
#command ⇒ Object
Returns the value of attribute command
8 9 10 |
# File 'lib/squared/workspace/support/base.rb', line 8 def command @command end |
#order ⇒ Object
Returns the value of attribute order
8 9 10 |
# File 'lib/squared/workspace/support/base.rb', line 8 def order @order end |
#styles ⇒ Object
Returns the value of attribute styles
8 9 10 |
# File 'lib/squared/workspace/support/base.rb', line 8 def styles @styles end |