module Bashly::Script::Introspection::Visibility
Public Instance Methods
Source
# File lib/bashly/script/introspection/visibility.rb, line 7 def visibility if !options['private'] :public elsif Settings.private_reveal_key :semi_private else :private end end
Returns :public, :private, or :semi_private based on the ‘private` option of the host, in conjunction with `Settings.private_reveal_key`.