class Fighter
- Fighter
- Granite::Base
- Reference
- Object
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
test-kemal.cr:108test-kemal.cr:110
Constructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, name : Nil | String, skill : Nil | Array(String), created_at : Time | Nil = Time.utc, updated_at : Time | Nil = nil)
Instance Method Summary
- #created_at : Time
- #created_at=(created_at : Time)
- #id : Int64 | Nil
- #id! : Int64
- #id=(id : Int64 | Nil)
-
#name : String
column id : UUID, primary: true, auto: false
-
#name=(name : String)
column id : UUID, primary: true, auto: false
- #skill : Array(String)
- #skill=(skill : Array(String))
- #updated_at : Time | Nil
- #updated_at! : Time
- #updated_at=(updated_at : Time | Nil)
Constructor Detail
def self.new(*, name : Nil | String, skill : Nil | Array(String), created_at : Time | Nil = Time.utc, updated_at : Time | Nil = nil)
#