Skip to content

Commit

Permalink
Remove emtpy lines from beginning and end of blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Dec 11, 2014
1 parent 4397306 commit ee4c8b4
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion lib/naught/null_class_builder/commands/pebble.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ def initialize(builder, output = $stdout)
def call
defer do |subject|
subject.module_exec(@output) do |output|

define_method(:method_missing) do |method_name, *args|
pretty_args = args.collect(&:inspect).join(', ').gsub("\"", "'")
output.puts "#{method_name}(#{pretty_args}) from #{parse_caller}"
Expand Down
1 change: 0 additions & 1 deletion spec/base_object_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require 'spec_helper'

describe 'null object with a custom base class' do

subject(:null) { custom_base_null_class.new }

let(:custom_base_null_class) do
Expand Down
1 change: 0 additions & 1 deletion spec/basic_null_object_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,4 @@
it 'aliases .new to .get' do
expect(null_class.get.class).to be(null_class)
end

end
1 change: 0 additions & 1 deletion spec/functions/null_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@
expect(null.__file__).to eq(__FILE__)
expect(null.__line__).to eq(line)
end

end
1 change: 0 additions & 1 deletion spec/implicit_conversions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@
it 'implicitly converts to an empty string' do
expect(null.to_str).to eq('')
end

end
2 changes: 0 additions & 2 deletions spec/mimic_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ def milton.stapler; end
expect(null).to respond_to(:member?)
end
end

end

describe 'using mimic with black_hole' do
Expand Down Expand Up @@ -121,5 +120,4 @@ def milton.stapler; end

it_should_behave_like 'a black hole mimic'
end

end

0 comments on commit ee4c8b4

Please sign in to comment.