examples/general/SRL/lib/regex/atomic_expression.rb in rley-0.6.00 vs examples/general/SRL/lib/regex/atomic_expression.rb in rley-0.6.01

- old
+ new

@@ -1,21 +1,16 @@ # File: atomic_expression.rb -require_relative "expression" # Access the superclass +require_relative 'expression' # Access the superclass module Regex # This module is used as a namespace - -# Abstract class. A valid regular expression that -# cannot be further decomposed into sub-expressions. -class AtomicExpression < Expression - -public - # Redefined method. Return true since it may not have any child. - def atomic? - return true - end - -end # class - + # Abstract class. A valid regular expression that + # cannot be further decomposed into sub-expressions. + class AtomicExpression < Expression + # Redefined method. Return true since it may not have any child. + def atomic? + return true + end + end # class end # module -# End of file \ No newline at end of file +# End of file