class Event
- Event
- Granite::Base
- Reference
- Object
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
models/event.cr:1models/event.cr:3
Constructors
Class Method Summary
Instance Method Summary
- #created_at : Time | Nil
- #created_at! : Time
- #created_at=(created_at : Time | Nil)
- #day : Day | Nil
- #day! : Day
- #day=(parent : Day)
- #day_id : Int64 | Nil
- #day_id! : Int64
- #day_id=(day_id : Int64 | Nil)
- #description : String | Nil
- #description! : String
- #description=(description : String | Nil)
- #end_at : Time | Nil
- #end_at! : Time
- #end_at=(end_at : Time | Nil)
- #id : Int64 | Nil
- #id! : Int64
- #id=(id : Int64 | Nil)
- #note : Note | Nil
- #note! : Note
- #note=(parent : Note)
- #note_id : Int64 | Nil
- #note_id! : Int64
- #note_id=(note_id : Int64 | Nil)
- #start_at : Time
- #start_at=(start_at : Time)
- #title : String
- #title=(title : String)
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #updated_at : Time | Nil
- #updated_at! : Time
- #updated_at=(updated_at : Time | Nil)
- #user : User | Nil
- #user! : User
- #user=(parent : User)
- #user_id : Int64 | Nil
- #user_id! : Int64
- #user_id=(user_id : Int64 | Nil)
Constructor Detail
Class Method Detail
Instance Method Detail
def to_s
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO)
which can be overridden for custom implementations.
Also see #inspect
.