class Yari::Feature

Attributes

raw[R]
scenarios[R]
tags[R]

Public Class Methods

new(raw) click to toggle source
# File lib/yari/builder.rb, line 21
def initialize(raw)
  @raw = raw
  @scenarios = []
  @raw[:scenarioDefinitions].each do |raw_scenario|
    @scenarios << Scenario.new(raw_scenario)
  end
end

Public Instance Methods

comments() click to toggle source
# File lib/yari/builder.rb, line 41
def comments
  @raw[:comments]
end
location() click to toggle source
# File lib/yari/builder.rb, line 37
def location
  @raw[:location]
end
name() click to toggle source
# File lib/yari/builder.rb, line 33
def name
  @raw[:name]
end