class Fauna::Native

Public Class Methods

from_name(id) click to toggle source
# File lib/fauna/objects.rb, line 59
def self.from_name(id)
  return Ref.new(id) unless @@natives.include? id
  send id.to_sym
end