Class: Barrister::Interface
- Inherits:
-
Object
- Object
- Barrister::Interface
- Defined in:
- lib/barrister.rb
Overview
Represents a Barrister IDL “interface”
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
- #function(name) ⇒ Object
- #functions ⇒ Object
-
#initialize(iface) ⇒ Interface
constructor
A new instance of Interface.
Constructor Details
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
843 844 845 |
# File 'lib/barrister.rb', line 843 def name @name end |
Instance Method Details
#function(name) ⇒ Object
857 858 859 |
# File 'lib/barrister.rb', line 857 def function(name) return @functions[name] end |
#functions ⇒ Object
853 854 855 |
# File 'lib/barrister.rb', line 853 def functions return @functions.values end |