Class: Bash::Merge::Availability

Inherits:
Struct
  • Object
show all
Defined in:
lib/bash/merge.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#diagnosticsObject

Returns the value of attribute diagnostics

Returns:

  • (Object)

    the current value of diagnostics



51
52
53
# File 'lib/bash/merge.rb', line 51

def diagnostics
  @diagnostics
end

#grammar_pathObject

Returns the value of attribute grammar_path

Returns:

  • (Object)

    the current value of grammar_path



51
52
53
# File 'lib/bash/merge.rb', line 51

def grammar_path
  @grammar_path
end

#node_parserObject

Returns the value of attribute node_parser

Returns:

  • (Object)

    the current value of node_parser



51
52
53
# File 'lib/bash/merge.rb', line 51

def node_parser
  @node_parser
end

Instance Method Details

#available?Boolean

Returns:

  • (Boolean)


57
58
59
# File 'lib/bash/merge.rb', line 57

def available?
  node_parser == true
end