class PeriodicMonetaryChange

Included Modules

Defined in:

classes/periodic_monetary_change.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(value : MonetaryValue, interval_type : IntervalType, start_at : Time, title : String) #

[View source]
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def applies_to?(day : Time) #

[View source]
def interval_type : IntervalType #

[View source]
def interval_type=(interval_type : IntervalType) #

[View source]
def start_at : Time #

[View source]
def start_at=(start_at : Time) #

[View source]
def title : String #

[View source]
def title=(title : String) #

[View source]
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.


[View source]
def to_text(index : Int | Nil = nil) #

[View source]
def value : MonetaryValue #

[View source]
def value=(value : MonetaryValue) #

[View source]