Class: Rsec::Unary

Inherits:
Struct
  • Object
show all
Includes:
Parser
Defined in:
lib/rsec/parser.rb,
lib/rsec/parser.rb

Overview

parsers with 1 param base

Instance Attribute Summary collapse

Attributes included from Parser

#name

Method Summary

Methods included from Parser

#&, #*, #<<, #>>, #^, #cached, #eof, #fail, #inspect, #join, #map, #maybe, #parse, #parse!, #star, #|

Instance Attribute Details

#someObject

Returns the value of attribute some

Returns:

  • (Object)

    the current value of some



53
54
55
# File 'lib/rsec/parser.rb', line 53

def some
  @some
end