Module: Travis::Yaml::Parser::Dummy

Defined in:
lib/travis/yaml/parser/dummy.rb

Class Method Summary collapse

Class Method Details

.parse(value) ⇒ Object



8
9
10
# File 'lib/travis/yaml/parser/dummy.rb', line 8

def self.parse(value)
  value
end

.parses?(value) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/travis/yaml/parser/dummy.rb', line 4

def self.parses?(value)
  value.is_a? Travis::Yaml::Nodes::Node
end