Module: Prtg::Query
- Included in:
- HistoricDataQuery, TableQuery
- Defined in:
- lib/prtg/query.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(receiver) ⇒ Object
71 72 73 74 75 76 77 78 |
# File 'lib/prtg/query.rb', line 71 def self.included(receiver) receiver.class_exec do # BlankSlate instance_methods.each { |m| undef_method m unless m =~ /^(__|send|object_id)/ } end receiver.extend ClassMethods receiver.send :include, InstanceMethods end |