Class: QDA::Query::Function

Inherits:
Object
  • Object
show all
Defined in:
lib/weft/query.rb

Direct Known Subclasses

CodedByFunction, WordSearchFunction

Instance Method Summary collapse

Constructor Details

#initialize(app = nil) ⇒ Function

Returns a new instance of Function.



60
61
62
# File 'lib/weft/query.rb', line 60

def initialize(app = nil)
  @app = app
end

Instance Method Details

#calculated?Boolean

Returns:

  • (Boolean)


68
69
70
# File 'lib/weft/query.rb', line 68

def calculated?()
  true
end

#to_aObject



64
65
66
# File 'lib/weft/query.rb', line 64

def to_a
  [ self ]
end