Method: Arrow::Session::Lock.create
- Defined in:
- lib/arrow/session/lock.rb
.create(uri, id) ⇒ Object
Create a new Arrow::Session::Lock object for the given id of the type specified by uri.
69 70 71 72 73 |
# File 'lib/arrow/session/lock.rb', line 69 def self::create( uri, id ) uri = Arrow::Session.parse_uri( uri ) if uri.is_a?( String ) super( uri.scheme.dup, uri, id ) end |