Class: RSpec::Puppet::RawString
- Inherits:
-
Object
- Object
- RSpec::Puppet::RawString
- Defined in:
- lib/rspec-puppet/raw_string.rb
Overview
A raw string object, that is used by helpers to allow consumers to return non-quoted strings as part of their params section.
Instance Method Summary collapse
-
#initialize(value) ⇒ RawString
constructor
Create a new RawString object.
-
#inspect ⇒ String
Raw string.
Constructor Details
#initialize(value) ⇒ RawString
Create a new RawString object
7 8 9 |
# File 'lib/rspec-puppet/raw_string.rb', line 7 def initialize(value) @value = value end |
Instance Method Details
#inspect ⇒ String
Returns raw string.
12 13 14 |
# File 'lib/rspec-puppet/raw_string.rb', line 12 def inspect @value end |