Sha256: fc46240fd4f2776e90200054f08f57afc83490a69b8384a66fc33fde5de87be0

Contents?: true

Size: 254 Bytes

Versions: 13

Compression:

Stored size: 254 Bytes

Contents

module IqRdf
  class Literal
    class Boolean < Literal

      def initialize(b)
        super(!!b, nil, ::URI.parse("http://www.w3.org/2001/XMLSchema#boolean"))
      end

      def to_s(parent_lang = nil)
        @obj.to_s
      end

    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
iq_rdf-0.1.17 lib/iq_rdf/literal/boolean.rb
iq_rdf-0.1.16 lib/iq_rdf/literal/boolean.rb
iq_rdf-0.1.15 lib/iq_rdf/literal/boolean.rb
iq_rdf-0.1.14 lib/iq_rdf/literal/boolean.rb
iq_rdf-0.1.13 lib/iq_rdf/literal/boolean.rb
iq_rdf-0.1.12 lib/iq_rdf/literal/boolean.rb
iq_rdf-0.1.10 lib/iq_rdf/literal/boolean.rb
iq_rdf-0.1.8 lib/iq_rdf/literal/boolean.rb
iq_rdf-0.1.7 lib/iq_rdf/literal/boolean.rb
iq_rdf-0.1.6 lib/iq_rdf/literal/boolean.rb
iq_rdf-0.1.5 lib/iq_rdf/literal/boolean.rb
iq_rdf-0.1.4 lib/iq_rdf/literal/boolean.rb
iq_rdf-0.1.3 lib/iq_rdf/literal/boolean.rb