Sha256: f8e4c2eca68584514a507eb3689e2a257b88dd6076d3d0a412a413f7e8e87368
Contents?: true
Size: 362 Bytes
Versions: 14
Compression:
Stored size: 362 Bytes
Contents
module Soybean class Interface class_attribute :interfaces, :instance_reader => false, :instance_writer => false def self.inherited(subclass) self.interfaces ||= [] self.interfaces << subclass if subclass.superclass == Soybean::Interface end def self.actions self.instance_methods - Object.instance_methods end end end
Version data entries
14 entries across 14 versions & 1 rubygems