Sha256: 9a01660d63463183d8b0e2cbead920d28451399f178019556c37b4ef1c65e42d

Contents?: true

Size: 209 Bytes

Versions: 4

Compression:

Stored size: 209 Bytes

Contents

# Extensions to other modules for use by Spira
#

class RDF::Literal

  def self.unserialize(rdf_value)
    rdf_value.object
  end

  def self.unserialize(ruby_value)
    self.class.new(ruby_value)
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spira-0.0.12 lib/spira/extensions.rb
spira-0.0.11 lib/spira/extensions.rb
spira-0.0.10 lib/spira/extensions.rb
spira-0.0.9 lib/spira/extensions.rb