Skip to content

Instantly share code, notes, and snippets.

import React, { Component } from 'react';
import Navbar from "./Components/Navbar.js";
import Slider from "./Components/Slider.js";
import './css/App.css';
class App extends Component {
render() {
@rfkdali
rfkdali / rspec_test.rb
Created November 15, 2018 18:38
Implementing Rspec DSL
require 'test/unit'
class AssertionError < StandardError; end
class Matcher
attr_accessor :matcher_value, :matcher_type
def initialize(matcher_value, matcher_type)
@matcher_value = matcher_value
@matcher_type = matcher_type
end