Skip to content

Commit

Permalink
first edition: some fixes2
Browse files Browse the repository at this point in the history
  • Loading branch information
kariminf committed Oct 13, 2018
1 parent ece4e03 commit 65264b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion book/classObject.tex
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ \subsection{Python}

\subsection{Ruby}

Static fields are defined inside the class block using \keyword[Ruby]{\@\@}, while dynamic fields are defined inside the constructor or the class block using the keyword \keyword[Ruby]{\@}.
Static fields are defined inside the class block using \keyword[Ruby]{@@}, while dynamic fields are defined inside the constructor or the class block using the keyword \keyword[Ruby]{@}.

\lstinputlisting[language={[KB]Ruby}, linerange={3-9,11-11,25-25}, style=codeStyle]{../codes/ruby/clsobj/person.rb}

Expand Down
3 changes: 2 additions & 1 deletion book/oop4coders.tex
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
\cover{../img/cover.jpg}
\license{../img/cc-by-sa.png}

%\setplainversion
\setplainversion

\begin{document}

Expand Down Expand Up @@ -65,6 +65,7 @@
\addcontentsline{toc}{chapter}{Index}

\cleardoublepage
\pagestyle{empty}
\vspace*{\fill}
\Huge\color{indigo}
\begin{center}
Expand Down

0 comments on commit 65264b2

Please sign in to comment.