class Xommelier::XmlStrategy
Public Class Methods
new()
click to toggle source
# File lib/xommelier/factory_girl.rb, line 14 def initialize @strategy = FactoryGirl.strategy_by_name(:build).new end
Public Instance Methods
result(evaluation)
click to toggle source
# File lib/xommelier/factory_girl.rb, line 18 def result(evaluation) @strategy.result(evaluation).to_xml end