Class: Dedalus::PatternLibrary::ApplicationFooter

Inherits:
Organism show all
Defined in:
lib/dedalus/pattern_library/organisms/app_footer.rb

Instance Attribute Summary collapse

Attributes inherited from Element

#background_color, #color, #height, #height_percent, #margin, #offset, #position, #shown, #width, #width_percent, #z_order

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Element

#big_font, #code_font, #draw_bounding_box, #font, #huge_font, #initialize, #record?, #tiny_font, #view, #window

Constructor Details

This class inherits a constructor from Dedalus::Element

Instance Attribute Details

#companyObject

Returns the value of attribute company.



4
5
6
# File 'lib/dedalus/pattern_library/organisms/app_footer.rb', line 4

def company
  @company
end

Returns the value of attribute copyright.



4
5
6
# File 'lib/dedalus/pattern_library/organisms/app_footer.rb', line 4

def copyright
  @copyright
end

#dedalus_versionObject

Returns the value of attribute dedalus_version.



4
5
6
# File 'lib/dedalus/pattern_library/organisms/app_footer.rb', line 4

def dedalus_version
  @dedalus_version
end

#joyce_versionObject

Returns the value of attribute joyce_version.



4
5
6
# File 'lib/dedalus/pattern_library/organisms/app_footer.rb', line 4

def joyce_version
  @joyce_version
end

Class Method Details

.descriptionObject



14
15
16
# File 'lib/dedalus/pattern_library/organisms/app_footer.rb', line 14

def self.description
  "An application footer"
end

.example_dataObject



18
19
20
21
22
23
24
25
# File 'lib/dedalus/pattern_library/organisms/app_footer.rb', line 18

def self.example_data
  { 
    joyce_version: "x.y.z", 
    dedalus_version: "a.b.c",
    company: "Hello LLC",
    copyright: "All rights reserved" 
  }
end

Instance Method Details

#paddingObject



10
11
12
# File 'lib/dedalus/pattern_library/organisms/app_footer.rb', line 10

def padding
  20
end

#showObject



6
7
8
# File 'lib/dedalus/pattern_library/organisms/app_footer.rb', line 6

def show
  [ footer_message ]
end