Class: BooticCli::Themes::FSTheme::Template

Inherits:
Struct
  • Object
show all
Defined in:
lib/bootic_cli/themes/fs_theme.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



9
10
11
# File 'lib/bootic_cli/themes/fs_theme.rb', line 9

def body
  @body
end

#file_nameObject

Returns the value of attribute file_name

Returns:

  • (Object)

    the current value of file_name



9
10
11
# File 'lib/bootic_cli/themes/fs_theme.rb', line 9

def file_name
  @file_name
end

#updated_onObject

Returns the value of attribute updated_on

Returns:

  • (Object)

    the current value of updated_on



9
10
11
# File 'lib/bootic_cli/themes/fs_theme.rb', line 9

def updated_on
  @updated_on
end

Instance Method Details

#==(other) ⇒ Object



10
11
12
# File 'lib/bootic_cli/themes/fs_theme.rb', line 10

def ==(other)
  self.updated_on.to_i == other.updated_on.to_i
end