Class: Calrom::Formatter::Formatter

Inherits:
Object
  • Object
show all
Defined in:
lib/calrom/formatter/formatter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(highlighter, today) ⇒ Formatter

Returns a new instance of Formatter.



4
5
6
7
# File 'lib/calrom/formatter/formatter.rb', line 4

def initialize(highlighter, today)
  @highlighter = highlighter
  @today = today
end

Instance Attribute Details

#highlighterObject (readonly)

Returns the value of attribute highlighter.



9
10
11
# File 'lib/calrom/formatter/formatter.rb', line 9

def highlighter
  @highlighter
end

#todayObject (readonly)

Returns the value of attribute today.



9
10
11
# File 'lib/calrom/formatter/formatter.rb', line 9

def today
  @today
end

Instance Method Details

#call(calendar, date_range) ⇒ Object



11
12
# File 'lib/calrom/formatter/formatter.rb', line 11

def call(calendar, date_range)
end