Class: Mondrian::OLAP::Schema::MemberFormatter

Inherits:
Mondrian::OLAP::SchemaElement show all
Includes:
ScriptElements
Defined in:
lib/mondrian/olap/schema_udf.rb

Instance Attribute Summary

Attributes inherited from Mondrian::OLAP::SchemaElement

#xml_fragments

Instance Method Summary collapse

Methods included from ScriptElements

#javascript

Methods inherited from Mondrian::OLAP::SchemaElement

attributes, content, data_dictionary_names, elements, #initialize, #to_xml, #xml

Constructor Details

This class inherits a constructor from Mondrian::OLAP::SchemaElement

Instance Method Details

#coffeescript(text) ⇒ Object



306
307
308
# File 'lib/mondrian/olap/schema_udf.rb', line 306

def coffeescript(text)
  coffeescript_function('(member)', text)
end

#ruby(*options, &block) ⇒ Object



310
311
312
# File 'lib/mondrian/olap/schema_udf.rb', line 310

def ruby(*options, &block)
  ruby_formatter(options, Java::mondrian.spi.MemberFormatter, 'formatMember', [java.lang.String, Java::mondrian.olap.Member], &block)
end