Sha256: 40c11e93249f05c84e409eb1798b7cab4a46a657ceb1354779265784fe06e4ed

Contents?: true

Size: 218 Bytes

Versions: 1

Compression:

Stored size: 218 Bytes

Contents

class TrueClass
  def to_burlap
    Burlap::Node.new(:name => "boolean", :value => "1").to_burlap
  end
end

class FalseClass
  def to_burlap
    Burlap::Node.new(:name => "boolean", :value => "0").to_burlap
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
burlap-1.0.0 lib/burlap/core_ext/boolean.rb