module ExpectationSerializer

Attributes

batch[RW]
output[RW]

Public Instance Methods

expected_response_root() click to toggle source
# File lib/expectation_serializer.rb, line 10
def expected_response_root
  "#{Rails.root}/tmp"
end
file_path() click to toggle source
# File lib/expectation_serializer.rb, line 3
def file_path
  if respond_to? 'delegate'
    delegate.class.to_s.split('::').join('/')
  else
    self.class.to_s.split('::').join('/')
  end
end
meth_name() click to toggle source
# File lib/expectation_serializer.rb, line 13
def meth_name
  if respond_to? 'delegate'
    delegate.method_name
  else
    method_name
  end
end