Skip to content

Instantly share code, notes, and snippets.

@arekt
Created Oct 30, 2012
Embed
What would you like to do?
class AppSettings::Base
@show_info = true
class << self
attr_accessor :cells
attr_accessor :show_info
end
def self.setup(&block)
yield(self)
end
def self.show_info=(bool)
@show_info = bool
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment