class Datasource::Attributes::QueryAttribute

Attributes

_depends[RW]

Public Class Methods

depends(*args) click to toggle source
# File lib/datasource/attributes/query_attribute.rb, line 11
def depends(*args)
  self._depends += args.map(&:to_s)
end
inherited(base) click to toggle source
# File lib/datasource/attributes/query_attribute.rb, line 7
def inherited(base)
  base._depends = (_depends || []).dup
end