class Ciphr::Functions::Function
Attributes
args[RW]
options[RW]
Public Class Methods
aligned()
click to toggle source
# File lib/ciphr/functions.rb, line 31 def self.aligned nil end
inherited(subclass)
click to toggle source
# File lib/ciphr/functions.rb, line 19 def self.inherited(subclass) Ciphr::FunctionRegistry.global.register(subclass) end
invertable?()
click to toggle source
# File lib/ciphr/functions.rb, line 27 def self.invertable? false end
new(options, args)
click to toggle source
# File lib/ciphr/functions.rb, line 8 def initialize(options, args) @options = options @args = args @stream = Ciphr::Stream.new(self) end
params()
click to toggle source
# File lib/ciphr/functions.rb, line 23 def self.params [] end
variants()
click to toggle source
# File lib/ciphr/functions.rb, line 15 def self.variants [] end
Public Instance Methods
prepend(*args)
click to toggle source
# File lib/ciphr/functions.rb, line 39 def prepend(*args) @stream.prepend(*args) end
read(*args)
click to toggle source
# File lib/ciphr/functions.rb, line 35 def read(*args) @stream.read(*args) end