Class: Tiun::Migration::Proxy
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#name ⇒ Object
Returns the value of attribute name.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
Instance Method Summary collapse
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
4 5 6 |
# File 'lib/tiun/migration.rb', line 4 def code @code end |
#name ⇒ Object
Returns the value of attribute name
4 5 6 |
# File 'lib/tiun/migration.rb', line 4 def name @name end |
#timestamp ⇒ Object
Returns the value of attribute timestamp
4 5 6 |
# File 'lib/tiun/migration.rb', line 4 def @timestamp end |
Instance Method Details
#basename ⇒ Object
7 8 9 10 |
# File 'lib/tiun/migration.rb', line 7 def basename "" # TODO fake name file end |
#scope ⇒ Object
12 13 14 |
# File 'lib/tiun/migration.rb', line 12 def scope nil end |
#version ⇒ Object
16 17 18 |
# File 'lib/tiun/migration.rb', line 16 def version .utc.strftime("%Y%m%d%H%M%S").to_i end |