Sha256: 2ae03dbd5a6cd4ed1a3d91b7e87ec62cc73009dda05dfbdeaaa403109d17a1b0
Contents?: true
Size: 816 Bytes
Versions: 5
Compression:
Stored size: 816 Bytes
Contents
# -*- encoding: utf-8 -*- module WatchTower module Editor module BasePs def self.included(base) base.send :include, InstanceMethods end module InstanceMethods def self.included(base) base.class_eval <<-END, __FILE__, __LINE__ + 1 # Returns the name of the editor # # Child class should implement this method def name raise NotImplementedError, "Please define this function in your class." end # Returns the version of the editor # # Child class should implement this method def version raise NotImplementedError, "Please define this function in your class." end END end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems