class Dedalus::PatternLibrary::ApplicationFooter
Attributes
company[RW]
copyright[RW]
dedalus_version[RW]
joyce_version[RW]
Public Class Methods
description()
click to toggle source
# File lib/dedalus/pattern_library/organisms/app_footer.rb, line 14 def self.description "An application footer" end
example_data()
click to toggle source
# 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
Public Instance Methods
padding()
click to toggle source
# File lib/dedalus/pattern_library/organisms/app_footer.rb, line 10 def padding 20 end
show()
click to toggle source
# File lib/dedalus/pattern_library/organisms/app_footer.rb, line 6 def show [ footer_message ] end
Private Instance Methods
assemble_text()
click to toggle source
# File lib/dedalus/pattern_library/organisms/app_footer.rb, line 32 def assemble_text "Powered by Dedalus v#{dedalus_version} and Joyce v#{joyce_version}. Copyright #{company} #{copyright}. All rights reserved." end