class Specific::Feature

Attributes

group[R]
id[R]

Public Class Methods

new(*) click to toggle source
Calls superclass method
# File lib/specific/feature.rb, line 5
def initialize(*)
  super
  process!
end

Private Instance Methods

process!() click to toggle source
# File lib/specific/feature.rb, line 20
def process!
  process_tags!
end
process_tags!() click to toggle source
# File lib/specific/feature.rb, line 24
def process_tags!
  tags.each do |tag|
    if tag.id?
      @id = tag.id.to_i
    elsif tag.group?
      @group = Group.new(tag.group_name)
    end
  end
end