Class: UDRS::Components::Logo
- Inherits:
-
Object
- Object
- UDRS::Components::Logo
- Defined in:
- lib/udrs/components/logo.rb
Instance Attribute Summary collapse
-
#alignment ⇒ Object
readonly
Returns the value of attribute alignment.
-
#valignment ⇒ Object
readonly
Returns the value of attribute valignment.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Logo
constructor
A new instance of Logo.
Constructor Details
#initialize(options = {}) ⇒ Logo
Returns a new instance of Logo.
6 7 8 9 |
# File 'lib/udrs/components/logo.rb', line 6 def initialize( = {}) @alignment = [:alignment] || :center @valignment = [:valignment] || :top end |
Instance Attribute Details
#alignment ⇒ Object (readonly)
Returns the value of attribute alignment.
4 5 6 |
# File 'lib/udrs/components/logo.rb', line 4 def alignment @alignment end |
#valignment ⇒ Object (readonly)
Returns the value of attribute valignment.
4 5 6 |
# File 'lib/udrs/components/logo.rb', line 4 def valignment @valignment end |