Method: Henshin::Labels#initialize

Defined in:
lib/henshin/labels.rb

#initialize(base, site) ⇒ Labels

Creates a new instance of labels

Parameters:

  • base (String)

    the base part of the urls, eg. category, tag

  • site (Site)

    that the labels belong to



14
15
16
17
# File 'lib/henshin/labels.rb', line 14

def initialize(base, site)
  @base = base
  @site = site
end