Method: TagList#initialize

Defined in:
lib/tag_list.rb

#initialize(include_head = true) ⇒ TagList

Instantiates the tag list.

Parameters:

  • include_head (bool) (defaults to: true)

    Indicates whether or not to include the most recent changes.



31
32
33
34
# File 'lib/tag_list.rb', line 31

def initialize(include_head = true)
  @include_head = include_head
  @list = build_list
end