-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
488 additions
and
440 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
|
||
gem 'rspec', '~> 3.4.0' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'rake' | ||
require 'rspec/core/rake_task' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,21 @@ | ||
# frozen_string_literal: true | ||
|
||
class Module | ||
unless method_defined?(:__name__) | ||
alias_method :__name__, :name | ||
end | ||
alias __name__ name unless method_defined?(:__name__) | ||
|
||
unless method_defined?(:__singleton_class__) | ||
alias_method :__singleton_class__, :singleton_class | ||
end | ||
alias __singleton_class__ singleton_class unless method_defined?(:__singleton_class__) | ||
|
||
unless method_defined?(:__include__?) | ||
alias_method :__include__?, :include? | ||
end | ||
alias __include__? include? unless method_defined?(:__include__?) | ||
|
||
unless method_defined?(:__instance_methods__) | ||
alias_method :__instance_methods__, :instance_methods | ||
end | ||
alias __instance_methods__ instance_methods unless method_defined?(:__instance_methods__) | ||
|
||
unless method_defined?(:__public_instance_methods__) | ||
alias_method :__public_instance_methods__, :public_instance_methods | ||
end | ||
alias __public_instance_methods__ public_instance_methods unless method_defined?(:__public_instance_methods__) | ||
|
||
unless method_defined?(:__protected_instance_methods__) | ||
alias_method :__protected_instance_methods__, :protected_instance_methods | ||
alias __protected_instance_methods__ protected_instance_methods | ||
end | ||
|
||
unless method_defined?(:__private_instance_methods__) | ||
alias_method :__private_instance_methods__, :private_instance_methods | ||
alias __private_instance_methods__ private_instance_methods | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'robe/visor' | ||
|
||
module Robe | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.