Sha256: 9d26724e9b0e96e4baac59a65942ed74a05cc0108c5c8cf7753e696ee85081dd

Contents?: true

Size: 422 Bytes

Versions: 7

Compression:

Stored size: 422 Bytes

Contents

# File: quantifiable.rb

require_relative 'multiplicity'	

module Regex # This module is used as a namespace


module Quantifiable

public
	# Redefined method. Return true since it may not have any child.
	def quantified?
		return @quantifier.nil? ? false :true
	end
  
  def quantifier
    @quantifier
  end
  
  def quantifier=(aQuantifier)
    @quantifier = aQuantifier
  end
	
end # class
	
end # module

# End of file

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rley-0.6.00 examples/general/SRL/lib/regex/quantifiable.rb
rley-0.5.14 examples/general/SRL/lib/regex/quantifiable.rb
rley-0.5.13 examples/general/SRL/lib/regex/quantifiable.rb
rley-0.5.12 examples/general/SRL/lib/regex/quantifiable.rb
rley-0.5.11 examples/general/SRL/lib/regex/quantifiable.rb
rley-0.5.10 examples/general/SRL/lib/regex/quantifiable.rb
rley-0.5.09 examples/general/SRL/lib/regex/quantifiable.rb