class DomGlancy::FileNameBuilder
Attributes
test_root[RW]
Public Class Methods
new(test_root = '')
click to toggle source
# File lib/dom_glancy/file_name_builder.rb, line 5 def initialize(test_root = '') @test_root = test_root end
Public Instance Methods
current()
click to toggle source
# File lib/dom_glancy/file_name_builder.rb, line 13 def current File.join(::DomGlancy.configuration.current_file_location, "#{@test_root}.yaml") end
diff()
click to toggle source
# File lib/dom_glancy/file_name_builder.rb, line 17 def diff File.join(::DomGlancy.configuration.diff_file_location, "#{@test_root}_diff.html") end
master()
click to toggle source
# File lib/dom_glancy/file_name_builder.rb, line 9 def master File.join(::DomGlancy.configuration.master_file_location, "#{@test_root}_master.yaml") end