class Avram::Migrator::MigrationGenerator
Included Modules
- LuckyTask::TextHelpers
Defined in:
avram/tasks/gen/migration_generator.crConstructors
- .new(name : String, io : IO, migrate_contents : String, rollback_contents : String)
- .new(name : String, io : IO)
Instance Method Summary
- #formatted_migrate_contents : String | Nil
- #formatted_rollback_contents : String | Nil
- #generate(_version : Nil | String = @_version)
- #io : IO
- #name : String
-
#to_s(__io__ : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
Instance methods inherited from class Object
blank_for_validates_required? : Bool
blank_for_validates_required?
Constructor Detail
Instance Method Detail
Description copied from class Reference
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>