Class: Mingle::RangeRestriction
- Inherits:
-
BitGirderClass
- Object
- BitGirderClass
- Mingle::RangeRestriction
- Defined in:
- lib/mingle.rb
Instance Method Summary collapse
Instance Method Details
#external_form ⇒ Object
1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 |
# File 'lib/mingle.rb', line 1945 def external_form res = @min_closed ? "[" : "(" ( res << Mingle.quote_value( @min ) ) if @min res << "," ( res << Mingle.quote_value( @max ) ) if @max res << ( @max_closed ? "]" : ")" ) res end |