diff options
| -rw-r--r-- | Library/Homebrew/formula.rb | 14 | ||||
| -rw-r--r-- | Library/Homebrew/requirement.rb | 4 | ||||
| -rw-r--r-- | Library/Homebrew/utils.rb | 4 |
3 files changed, 0 insertions, 22 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index c6ff16d88..c1f3d3ff1 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -11,11 +11,9 @@ require 'install_renamed' require 'pkg_version' class Formula - # :startdoc: include FileUtils include Utils::Inreplace extend Enumerable - # :stopdoc: attr_reader :name, :path attr_reader :stable, :devel, :head, :active_spec @@ -156,8 +154,6 @@ class Formula Keg.new(installed_prefix).version end - # :startdoc: - # The directory in the cellar that the formula is installed to. # This directory contains the formula's name and version. def prefix(v=pkg_version) @@ -270,8 +266,6 @@ class Formula false end - # :stopdoc: - # yields self with current working directory set to the uncompressed tarball def brew validate_attributes :name, :version @@ -335,8 +329,6 @@ class Formula "#<#{self.class.name}: #{path}>" end - # :startdoc: - # Standard parameters for CMake builds. # Using Build Type "None" tells cmake to use our CFLAGS,etc. settings. # Setting it to Release would ignore our flags. @@ -355,8 +347,6 @@ class Formula ] end - # :stopdoc: - # Deprecated def python(options={}, &block) opoo 'Formula#python is deprecated and will go away shortly.' @@ -525,8 +515,6 @@ class Formula protected - # :startdoc: - # Pretty titles the command and buffers stdout/stderr # Throws if there's an error def system cmd, *args @@ -589,8 +577,6 @@ class Formula end end - # :stopdoc: - private def exec_cmd(cmd, args, out, logfn) diff --git a/Library/Homebrew/requirement.rb b/Library/Homebrew/requirement.rb index 19ea21f1a..d06d65d6b 100644 --- a/Library/Homebrew/requirement.rb +++ b/Library/Homebrew/requirement.rb @@ -3,8 +3,6 @@ require 'dependency' require 'dependencies' require 'build_environment' -# :startdoc: - # A base class for non-formula requirements needed by formulae. # A "fatal" requirement is one that will fail the build if it is not present. # By default, Requirements are non-fatal. @@ -107,8 +105,6 @@ class Requirement super(cmd, ORIGINAL_PATHS.join(File::PATH_SEPARATOR)) end - # :stopdoc: - class << self include BuildEnvironmentDSL diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 01492aa42..cafee2025 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -42,8 +42,6 @@ class Tty end end -# :startdoc: - def ohai title, *sput title = Tty.truncate(title) if $stdout.tty? && !ARGV.verbose? puts "#{Tty.blue}==>#{Tty.white} #{title}#{Tty.reset}" @@ -73,8 +71,6 @@ def odie error exit 1 end -# :stopdoc: - def pretty_duration s return "2 seconds" if s < 3 # avoids the plural problem ;) return "#{s.to_i} seconds" if s < 120 |
