Libraries
»
loc
(0.1.1)
»
Index
»
Loc
»
Location
»
from_array
Method: Loc::Location.from_array
Defined in:
lib/loc/location.rb
.
from_array
(a) ⇒
Object
Also known as:
from_a
14 15 16
# File 'lib/loc/location.rb', line 14
def
from_array
(
a
)
new
(
a
[
0
]
,
a
[
1
]
)
end