Method: RubyXL::WorkbookConvenienceMethods#define_new_name

Defined in:
lib/rubyXL/convenience_methods/workbook.rb

#define_new_name(name, reference) ⇒ Object

[View source]

118
119
120
121
# File 'lib/rubyXL/convenience_methods/workbook.rb', line 118

def define_new_name(name, reference)
  self.defined_names ||= RubyXL::DefinedNames.new
  self.defined_names << RubyXL::DefinedName.new({:name => name, :reference => reference})
end