Module: RedmineVersionPriorities::Patches::QueryPatch::ClassMethods

Defined in:
lib/redmine_version_priorities/patches/query_patch.rb

Instance Method Summary collapse

Instance Method Details

#add_available_column(column) ⇒ Object

Method to add a column to the available_columns that isn’t provided by the core.



28
29
30
# File 'lib/redmine_version_priorities/patches/query_patch.rb', line 28

def add_available_column(column)
  self.available_columns << (column)
end

#available_columns=(v) ⇒ Object

Setter for available_columns that isn’t provided by the core.



23
24
25
# File 'lib/redmine_version_priorities/patches/query_patch.rb', line 23

def available_columns=(v)
  self.available_columns = (v)
end