Class: Pione::Location::LocationScheme
- Inherits:
-
URI::Generic
- Object
- URI::Generic
- Pione::Location::LocationScheme
- Defined in:
- lib/pione/location/location-scheme.rb
Overview
LocationScheme is a URI scheme for Location.
Direct Known Subclasses
BroadcastScheme, NotificationBroadcastScheme, NotificationMulticastScheme, NotificationUnicastScheme
Instance Method Summary collapse
-
#pione? ⇒ Boolean
private
Returns true always because classes inheriting BasicScheme are supported by PIONE system.
-
#storage? ⇒ Boolean
Returns true if the scheme acts as storage.
Methods inherited from URI::Generic
#as_directory, #directory?, #file?
Instance Method Details
#pione? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns true always because classes inheriting BasicScheme are supported by PIONE system.
8 9 10 |
# File 'lib/pione/location/location-scheme.rb', line 8 def pione? true end |
#storage? ⇒ Boolean
Returns true if the scheme acts as storage.
15 16 17 |
# File 'lib/pione/location/location-scheme.rb', line 15 def storage? self.class.instance_variable_get(:@storage) end |