Module: Babl::Operators::Default::DSL

Included in:
Template
Defined in:
lib/babl/operators/default.rb

Instance Method Summary collapse

Instance Method Details

#defaultObject

To be used as a switch(…) condition. It is strictly equivalent to write ‘true’ instead, but it conveys more meaning.



8
9
10
# File 'lib/babl/operators/default.rb', line 8

def default
    static(true)
end