class RSpec::Puppet::RawString

A raw string object, that is used by helpers to allow consumers to return non-quoted strings as part of their params section.

Public Class Methods

new(value) click to toggle source

Create a new RawString object @param [String] value string to wrap

# File lib/rspec-puppet/raw_string.rb, line 7
def initialize(value)
  @value = value
end

Public Instance Methods

inspect() click to toggle source

@return [String] raw string

# File lib/rspec-puppet/raw_string.rb, line 12
def inspect
  @value
end