Sha256: ab7cdc8ff263e4d8b84e7ae618569a3681dfeb6bd52f9e67c70af8671ac0d0ec

Contents?: true

Size: 405 Bytes

Versions: 1

Compression:

Stored size: 405 Bytes

Contents

# Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig.
# License:   Apache License, Version 2.0

module RTM::Sugar
  module TopicMap
    module Readable

    def read_only?
      begin
        answer = engine.feature("http://tmapi.org/features/readOnly")
      rescue org.tmapi.core.FeatureNotRecognizedException
        answer = false
      end
      return answer
    end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rtm-0.3.1 lib/rtm/sugar/topic_map/readable.rb