Method: ActionScriptClass#head

Defined in:
lib/shed/mixers/actionscript_class.rb

#head(name, interface) ⇒ Object

Returns a string formatted as the head of a ActionScript document.



12
13
14
# File 'lib/shed/mixers/actionscript_class.rb', line 12

def head(name,interface)
  "package\n{\n\nclass #{name} implements #{interface}\n{\n\n"
end