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
| 9 10 11 | # File 'lib/rspec-puppet/raw_string.rb', line 9 def initialize(value) @value = value end | 
Instance Method Details
#inspect ⇒ String
Returns raw string.
| 14 15 16 | # File 'lib/rspec-puppet/raw_string.rb', line 14 def inspect @value end |