class PeriodicMonetaryChange
- PeriodicMonetaryChange
- Reference
- Object
Included Modules
- YAML::Serializable
Defined in:
classes/periodic_monetary_change.crConstructors
- .new(value : MonetaryValue, interval_type : IntervalType, start_at : Time, title : String)
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Instance Method Summary
- #applies_to?(day : Time)
- #interval_type : IntervalType
- #interval_type=(interval_type : IntervalType)
- #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.
- #to_text(index : Int | Nil = nil)
- #value : MonetaryValue
- #value=(value : MonetaryValue)
Constructor Detail
def self.new(value : MonetaryValue, interval_type : IntervalType, start_at : Time, title : String)
#
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
.