Class: Modernize::CompiledMigrations

Inherits:
Struct
  • Object
show all
Defined in:
lib/modernizer/parser.rb

Overview

Struct for storing the translations and block for determining version

Instance Attribute Summary collapse

Instance Attribute Details

#orderObject

Returns the value of attribute order

Returns:

  • (Object)

    the current value of order



14
15
16
# File 'lib/modernizer/parser.rb', line 14

def order
  @order
end

#translationsObject

Returns the value of attribute translations

Returns:

  • (Object)

    the current value of translations



14
15
16
# File 'lib/modernizer/parser.rb', line 14

def translations
  @translations
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



14
15
16
# File 'lib/modernizer/parser.rb', line 14

def version
  @version
end