Class: UDRS::Components::Logo

Inherits:
Object
  • Object
show all
Defined in:
lib/udrs/components/logo.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options = {})
	@alignment = options[:alignment] || :center
	@valignment = options[:valignment] || :top
end

Instance Attribute Details

#alignmentObject (readonly)

Returns the value of attribute alignment.



4
5
6
# File 'lib/udrs/components/logo.rb', line 4

def alignment
  @alignment
end

#valignmentObject (readonly)

Returns the value of attribute valignment.



4
5
6
# File 'lib/udrs/components/logo.rb', line 4

def valignment
  @valignment
end