Method: Fable::Story#unbind_external_function

Defined in:
lib/fable/story.rb

#unbind_external_function(function_name) ⇒ Object



1072
1073
1074
1075
1076
1077
1078
# File 'lib/fable/story.rb', line 1072

def unbind_external_function(function_name)
  if !external_functions.has_key?(function_name)
    raise StoryError, "Function #{function_name} has not been bound."
  end

  external_functions.delete(function_name)
end