module QuakeliveApi::Items::Structurable

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# File lib/quakelive_api/items/structurable.rb, line 5
def initialize(*args)
  opts = args.last.is_a?(Hash) ? args.pop : {}
  super(*args)
  opts.each { |k, v| send("#{k}=", v) }
end